package com.fyzk.activity.prize;

import java.util.List;

/**
 * Created by fanxs11 on 2017/12/4.
 */

public class BeiDanPrizeBean {

    /**
     * phases : 171201;171104;171103;171102;171101;171005;171004;171003;171002;171001
     * lotteryType : 5001
     * races : [{"matchNum":1,"matchName":"土耳其杯","homeTeam":"奥斯曼利体育","awayTeam":"马拉蒂亚体育","handicap":"0","status":4,"homeScore":3,"awayScore":1,"halfHomeScore":1,"halfAwayScore":0,"spfResult":"胜","spSfp":"2.097338"}]
     */

    private String phases;
    private int lotteryType;
    private List<RacesBean> races;

    public String getPhases() {
        return phases;
    }

    public void setPhases(String phases) {
        this.phases = phases;
    }

    public int getLotteryType() {
        return lotteryType;
    }

    public void setLotteryType(int lotteryType) {
        this.lotteryType = lotteryType;
    }

    public List<RacesBean> getRaces() {
        return races;
    }

    public void setRaces(List<RacesBean> races) {
        this.races = races;
    }

    public static class RacesBean {
        /**
         * matchNum : 1
         * matchName : 土耳其杯
         * homeTeam : 奥斯曼利体育
         * awayTeam : 马拉蒂亚体育
         * handicap : 0
         * status : 4
         * homeScore : 3
         * awayScore : 1
         * halfHomeScore : 1
         * halfAwayScore : 0
         * spfResult : 胜
         * spSfp : 2.097338
         */

        private String matchNum;
        private String matchName;
        private String homeTeam;
        private String awayTeam;
        private String handicap;
        private int status;
        private String homeScore;
        private String awayScore;
        private String halfHomeScore;
        private String halfAwayScore;
        private String spfResult;
        private String spSfp;
        private String bfResult;
        private String jqsResult;
        private String bqcResult;
        private String sxdsResult;

        public String getMatchNum() {
            if (matchNum.length() == 1) {
                matchNum = "00"+matchNum;
            } else if (matchNum.length() == 2) {
                matchNum = "0"+matchNum;
            }
            return matchNum;
        }

        public void setMatchNum(String matchNum) {
            this.matchNum = matchNum;
        }

        public String getMatchName() {
            return matchName;
        }

        public void setMatchName(String matchName) {
            this.matchName = matchName;
        }

        public String getHomeTeam() {
            return homeTeam;
        }

        public void setHomeTeam(String homeTeam) {
            this.homeTeam = homeTeam;
        }

        public String getAwayTeam() {
            return awayTeam;
        }

        public void setAwayTeam(String awayTeam) {
            this.awayTeam = awayTeam;
        }

        public String getHandicap() {
            return handicap;
        }

        public void setHandicap(String handicap) {
            this.handicap = handicap;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getHomeScore() {
            return homeScore;
        }

        public void setHomeScore(String homeScore) {
            this.homeScore = homeScore;
        }

        public String getAwayScore() {
            return awayScore;
        }

        public void setAwayScore(String awayScore) {
            this.awayScore = awayScore;
        }

        public String getHalfHomeScore() {
            return halfHomeScore;
        }

        public void setHalfHomeScore(String halfHomeScore) {
            this.halfHomeScore = halfHomeScore;
        }

        public String getHalfAwayScore() {
            return halfAwayScore;
        }

        public void setHalfAwayScore(String halfAwayScore) {
            this.halfAwayScore = halfAwayScore;
        }

        public String getSpfResult() {
            return spfResult;
        }

        public void setSpfResult(String spfResult) {
            this.spfResult = spfResult;
        }

        public String getSpSfp() {
            return spSfp;
        }

        public void setSpSfp(String spSfp) {
            this.spSfp = spSfp;
        }

        public String getBfResult() {
            return bfResult;
        }

        public void setBfResult(String bfResult) {
            this.bfResult = bfResult;
        }

        public String getJqsResult() {
            return jqsResult;
        }

        public void setJqsResult(String jqsResult) {
            this.jqsResult = jqsResult;
        }

        public String getBqcResult() {
            return bqcResult;
        }

        public void setBqcResult(String bqcResult) {
            this.bqcResult = bqcResult;
        }

        public String getSxdsResult() {
            return sxdsResult;
        }

        public void setSxdsResult(String sxdsResult) {
            this.sxdsResult = sxdsResult;
        }
    }
}
